package com.googlecode.kipler.test.container;

import java.util.Comparator;

import com.googlecode.kipler.container.graph.RelationalNode;

public class KINodeComparator implements
		Comparator<RelationalNode<KeyedInteger, Integer, Integer>> {

	@Override
	public int compare(RelationalNode<KeyedInteger, Integer, Integer> o1,
			RelationalNode<KeyedInteger, Integer, Integer> o2) {
		return o1.getValue().getValue() - o2.getValue().getValue();
	}

}
